<?php
class SearchAction extends BackendAction
{
	public function execute()
	{
		if ($this->context->request("ip"))
		{
			$ipBlackListDao = new IpBlacklistDao();
			$this->view->blacklists = $ipBlackListDao->getBlacklistByIp($this->context->request("ip"));
		}
		$this->view->render();
	}
}